package cn.catsdad.entity;

import cn.catsdad.base.entity.BaseCrudEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.MappedSuperclass;

/**
 * 通知实体
 *
 * @author xuyonglong
 * @version V1.0 2023/5/11
 */
@EqualsAndHashCode(callSuper = true)
@MappedSuperclass
@Data
public class Notice extends BaseCrudEntity {

    /**
     * 标题
     */
    private String title;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 排序值
     */
    private Integer orderNum;

    /**
     * 内容
     */
    private String constant;

}
